//  this library.
class CourseHandoutsModel {
  String? createdTime;
  String? modifyTime;
  String? createdBy;
  String? modifyBy;
  String? id;
  String? name;
  String? type;
  int? size;
  int? downloadCount;
  String? url;
  String? videoId;

  CourseHandoutsModel({
    this.createdTime,
    this.modifyTime,
    this.createdBy,
    this.modifyBy,
    this.id,
    this.name,
    this.type,
    this.size,
    this.downloadCount,
    this.url,
    this.videoId,
  });

  CourseHandoutsModel.fromJson(Map<String, dynamic> json) {
    createdTime = json['createdTime'];
    modifyTime = json['modifyTime'];
    createdBy = json['createdBy'];
    modifyBy = json['modifyBy'];
    id = json['id'];
    name = json['name'];
    type = json['type'];
    size = json['size'];
    downloadCount = json['downloadCount'];
    url = json['url'];
    videoId = json['videoId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['createdTime'] = createdTime;
    data['modifyTime'] = modifyTime;
    data['createdBy'] = createdBy;
    data['modifyBy'] = modifyBy;
    data['id'] = id;
    data['name'] = name;
    data['type'] = type;
    data['size'] = size;
    data['downloadCount'] = downloadCount;
    data['url'] = url;
    data['videoId'] = videoId;
    return data;
  }
}
